package TAIC.test;

public class K_KeyWord_TestMode extends TestMode {

	public int loop1Begin () {
		return para.getParaInt( "K_Begin" ) ; 
	}

	public int loop1End () {
		return para.getParaInt( "K_End" ) ; 		
	}
	
	public int loop2Begin () {
		return para.getParaInt( "Key_Begin" ) ; 		
	}
	
	public int loop2End () {
		return para.getParaInt( "Key_End" ) ; 		
	}
	
	public TestResult test ( DataGen dataGen , int K , int KeyWord ) {
//		System.out.println( K + " " +  para.getParaInt ( "BaseImage_Begin" ) + " " +  KeyWord   
//		+ " " + para.getParaInt( "TestImage") + " " +  para.getParaInt( "Iteration" ) + " "  
//		+ " " +  Math.pow(2.0, para.getParaInt( "Lambda" ))  ) ;
		return dataGen.test( K , para.getParaInt ( "BaseImage_Begin" ), KeyWord ,  
				para.getParaInt( "TestImage"), para.getParaInt( "Iteration" ) , 
				Math.pow(2.0, para.getParaInt( "Lambda" )) ,  "" ) ;
	}
}
